﻿using System;
using System.Windows.Forms;
using System.Xml;
using System.IO;

public partial class FormBase : Form
{
    //public string strGreen = com.strGreen;
    public string strGreen = "..\\@green";

    public FormBase()
    {
        InitializeComponent();
    }

    private void Form11_Load(object sender, EventArgs e)
    {
        this.AllowDrop = true;

        //this.Text = xml_help.get_AppName();
        //strGreen = xml_help.get_greensoft();

        //string strPath = "Xml/Config.xml";
        ////string strPath = Path.Combine("Xml/Config.xml");
        //XmlDocument doc = new XmlDocument();
        //doc.Load(strPath);
        //XmlNodeList nodeList = doc.SelectSingleNode("data").ChildNodes;

        //foreach (XmlNode xn in nodeList)
        //{
        //    if (xn.Name == "row")
        //    {
        //        foreach (XmlNode xn1 in xn.ChildNodes)
        //        {
        //            if (xn1.Name == "AppName")
        //            {
        //                this.Text = xn1.InnerText;
        //                break;
        //            }
        //            else if (xn1.Name == "green")
        //            {
        //                strGreen = xn1.InnerText;
        //                break;
        //            }
        //        }
        //    }
        //}

        //this.Text = "content manage system";
    }
}